﻿using MySqlStudent.UI.Models;
using System.Collections.Generic;

namespace MySqlStudent.UI.Repo
{
    public interface IStudentRepository
    {
        Student GetStudentId(int id);

        IEnumerable<Student> GetAllStudents();

        Student Insert(Student student);

        Student Update(Student student);

        Student delete(int id);
    }
}